﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LIMS.Entities
{
    [Serializable]
    public class GVEntityData
    {
        public GVEntityData()
        {

        }
        public GVEntityData(string p_sName, CriteriaDataType p_sType, List<string> p_sValue, CriteriaSearchType p_sSearchType, CriteriaRelationWithSibling p_sRelationWithSibling)
        {
            this.sName = p_sName;
            this.sType = p_sType;
            this.sValue = p_sValue;
            this.sSearchType = p_sSearchType;
            this.sRelationWithSibling = p_sRelationWithSibling;
        }

        #region Private

        private string sName = string.Empty;

        private CriteriaDataType sType;

        private List<string> sValue = new List<string>();

        private CriteriaSearchType sSearchType;

        private CriteriaRelationWithSibling sRelationWithSibling;

        #endregion

        #region Public

        public string Name
        {
            get { return sName; }
            set { sName = value; }
        }

        public CriteriaDataType Type
        {
            get { return sType; }
            set { sType = value; }
        }

        public List<string> Value
        {
            get { return sValue; }
            set { sValue = value; }
        }

        public CriteriaSearchType SearchType
        {
            get { return sSearchType; }
            set { sSearchType = value; }
        }

        public CriteriaRelationWithSibling RelationWithSibling
        {
            get { return sRelationWithSibling; }
            set { sRelationWithSibling = value; }
        }
        #endregion
    }
}
